package titiritero.vista;

import java.awt.event.ActionEvent;
import java.io.IOException;

import javax.swing.JButton;

import titiritero.ControladorJuego;

public class Continuar extends JButton implements BotonDeControlador {

    /**
     * 
     */
    private static final long serialVersionUID = -8607717870892920365L;

    public Continuar() {
        super("Continuar");
    }

    public void realizarAccion(ControladorJuego controlador, ActionEvent event) {
        try {
            controlador.cargar();
        } catch (ClassNotFoundException e) {
            e.printStackTrace();
        } catch (IOException e) {
            e.printStackTrace();
        }

    }

}
